#ifndef STUDENT_H
#define STUDENT_H

#include <QObject>

class Student : public QObject
{
    Q_OBJECT
public:
    explicit Student(QObject *parent = nullptr);

signals:

public slots:
    // 早期qt，必须写到这里，高级版本可以写到public
    // 返回值void, 需要声明，也要实现
    void treat();
    void treat(QString foodName);
};

#endif // STUDENT_H
